﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using Traceability.ErrorCode;

namespace Traceability.APP.Applications.Commands.Suyuan
{
    public class SuyuanCreateCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 商品的ID
        /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string QiYe { get; set; }
        public string Img { get; set; }
    }
}
